package yyx;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2023-06-02
 * Time: 15:55
 */
public class Empire extends Country{
    Emperor emperor;
    List<Official> officialList;
    List<City> cityList;
    List<String> haremList;

    public Empire() {
    }

    public Empire(String name, double territory, int army, int trade, int population, double money, int defense, Emperor emperor, List<Official> officialList, List<City> cityList, List<String> haremList) {
        super(name, territory, army, trade, population, money, defense);
        this.emperor = emperor;
        this.officialList = officialList;
        this.cityList = cityList;
        this.haremList = haremList;
    }

    @Override
    public void showInfo() {
        System.out.println( "帝国名称:" + this.name);
        System.out.println( "帝国领土:" + this.territory);
        System.out.println( "帝国军队:" + this.territory);
        System.out.println( "帝国贸易:" + this.territory);
        System.out.println( "帝国皇帝:" + emperor.name);
        System.out.println( "官员数量:" + officialList.size());
        System.out.println( "城市数量:" + cityList.size());
        System.out.println( "后宫数量:" + haremList.size());
    }

    //管理官员
    public void manageOfficial(){

    }

    //管理城市
    public void manageCity(){

    }

}
